/*
 * ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
 * Without permission, no one has the right to obtain, disclose or use this software in any way.
 */

package com.ecarx.systemui.plugin.ui.adapter.entity;

import com.ecarx.module_bluetooth.aosp.CachedBluetoothDevice;
import com.ecarx.systemui.plugin.ui.adapter.BtDevicesAdapter;

/**
 * 蓝牙连接过的数据
 */
public class ItemBluetoothConnected extends ItemBluetooth {

    private CachedBluetoothDevice device;

    public ItemBluetoothConnected() {
    }
    public ItemBluetoothConnected(CachedBluetoothDevice device) {
        this.device = device;
    }

    @Override
    public int getViewType() {
        return BtDevicesAdapter.BLUETOOTH_CONNECTED_VIEW_TYPE;
    }

    @Override
    public CachedBluetoothDevice getData() {
        return device;
    }
}
